﻿using UnityEngine;
using System.Collections;

public class shipThrusters : MonoBehaviour
{
    StartGame startGameRef;
    // Use this for initialization
    void Start()
    {
        //transform.position = new Vector3(-.33f, -2.12f, -2.16f);
    }

    // Update is called once per frame
    void Update()
    {
        if (StartGame.gameStart)
        {
            renderer.enabled = true;
            if (transform.localScale.z < .8)
            {
                transform.localScale += new Vector3(0, 0, .006f);
                transform.position -= new Vector3(0, 0, .007f);

                Debug.Log("low rider");
            }
        }
    }
}
